
import {download} from '@/utils/request'
import {getNowDate} from '@/utils/tools.js'


// 定向活动用户模板
export function exportOrientTemplate(params = {}, filename) {
  return download('/system/acddUser/exportOrientTemplate', params, `${filename}${getNowDate()}.xlsx`)
}

// 现金红包用户模板
export function exportRedPacketTemplate(params = {}, filename) {
  return download('/system/acddUser/exportRedPacketTemplate', params, `${filename}${getNowDate()}.xlsx`)
}

// 定向赠送用户模板
export function exportGiveTemplate(params = {}, filename) {
  return download('/system/acddUser/exportGiveTemplate', params, `${filename}${getNowDate()}.xlsx`)
}